SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48878: A "java.lang.RuntimeException..." occurs when you launch SAS® Model Manager using Java Web Start

DetailsHotfixAboutRate It

When you log on to SAS® Model Manager by selecting Launch using Java Web Start, the following error occurs.

 
java.lang.RuntimeException: mid-tier init() failed. 
 at com.sas.modelmanager.impl.MetadataDelegate.getMmRepository(MetadataDelegate.java:99)
 at com.sas.modelmanager.impl.MMFolderDelegate.getRoot(MMFolderDelegate.java:40)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
 at java.lang.reflect.Method.invoke(Method.java:611) 
 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
 at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
 .....
Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
com.sas.analytics.modelmanager.core.AuthorizationException: 
The application could not connect to the SAS Metadata Repository 
"dav://aalsas-dev.uhc.com:443/SASContentServer/repository/default/ModelManager".
Make sure that the SAS Content Server is available, and that the user is a member of a SAS Model Manager group.
 at com.sas.analytics.modelmanager.server.RemoteModelManagementImpl.init(RemoteModelManagementImpl.java:3504)
 at com.sas.modelmanager.impl.MetadataDelegate.getMmRepository(MetadataDelegate.java:97)
  ... 145 more 

The problem occurs when the following configuration has a mixture of HTTP and HTTPS protocols.

Select SAS Management Console ► Foundation Services Manager ► SASModelmanager3.1 Local Services ► Core. Highlight Information Service. Right-click and select Properties ► Services Configuration ► Configuration ► Repositories. Select DAV ► edit. Specify HTTPS as the Proxy URL to use the secure socket layer.

In the above scenario, the configuration has a mixture of HTTP and HTTPS protocols. The problem does not occur if you use all HTTPS or all HTTP protocols.

Content returned in WebDAV responses reflects the protocol, host, and port of the origin server. However, when a reverse proxy server is used, the protocol, host, and port of the proxy server needs to be in the response. Recommended configuration options already pass the proxy host through to the origin server, so proxy is not a problem. However, if the port or protocol that is used mixes secure and non-secure in the two connections (client-proxy and proxy-server), then the problem occurs.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Model ManagerSolaris for x643.112.39.3 TS1M29.4 TS1M0
Linux for x643.112.39.3 TS1M29.4 TS1M0
HP-UX IPF3.112.39.3 TS1M29.4 TS1M0
64-bit Enabled Solaris3.112.39.3 TS1M29.4 TS1M0
64-bit Enabled AIX3.112.39.3 TS1M29.4 TS1M0
Windows Vista for x643.19.3 TS1M2
Windows Vista3.19.3 TS1M2
Windows 7 Ultimate x643.19.3 TS1M2
Windows 7 Ultimate 32 bit3.19.3 TS1M2
Windows 7 Professional x643.19.3 TS1M2
Windows 7 Professional 32 bit3.19.3 TS1M2
Windows 7 Home Premium x643.19.3 TS1M2
Windows 7 Home Premium 32 bit3.19.3 TS1M2
Windows 7 Enterprise x643.19.3 TS1M2
Windows 7 Enterprise 32 bit3.19.3 TS1M2
Microsoft Windows XP Professional3.19.3 TS1M2
Microsoft Windows Server 2008 for x643.112.39.3 TS1M29.4 TS1M0
Microsoft Windows Server 20083.112.39.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Enterprise Edition3.112.39.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Datacenter Edition3.19.3 TS1M2
Microsoft Windows Server 2003 for x643.112.39.3 TS1M29.4 TS1M0
Microsoft Windows Server 2003 Standard Edition3.112.39.3 TS1M29.4 TS1M0
Microsoft® Windows® for x643.112.39.3 TS1M29.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.